num = [1,2,3,4,5,6,7,8,9]

print("序列长度为",len(num))
print("序列",num,"中最大值为",max(num))
print("序列", num,"中最小值为",min(num))
print("序列", num,"的和为",sum(num))